* {padding:0; margin:0;}
a {text-decoration:none;}

body {
	font-size: 14px;
	background-color:#DEDEDE;
}

#page {
	width:960px;
	margin:0 auto;
	background-color:#fff;
}

#browser {
	text-align:center;
	margin-top:10px;
	font-size:12px;
	background:#FFFF9E;
}
#head {
	background-color:#002344;
	height:50px;
	background:url('/site_media/images/logo.png') no-repeat #002344 scroll 15px 14px;
	-moz-border-radius-bottomleft:5px;
	-moz-border-radius-bottomright:5px;
	-webkit-border-radius-bottomleft: 5px;
	-webkit-border-radius-bottomright: 5px;
	-khtml-border-radius-bottomleft: 5px;
	-khtml-border-radius-bottomright: 5px;
}
#head h1 {
	color:#FEFEFE;
	float:left;
	margin-left:80px;
	margin-top:14px;
	font-size:24px;
}
#head h1 a,
#head h1 a:visited {
	color:#FEFEFE;
}
#head h1 span {
	font-size:12px;
	padding-left:10px;
	color:#C9C9C9;
}
#head ul {
	float:left;
	list-style:none;
	margin-left:80px;
	margin-top:22px;
}
#head ul li {
	background:url('/site_media/images/tag_b.png') no-repeat;
	width:45px;
	height:19px;
	float:left;
	padding:5px 30px;
}
#head ul li a {
	font-weight:bold;
	color:black;
}
#head p {
	float:right;
	margin-top:23px;
}
#head p span {
	margin-right:10px;
}
#head p a {
	color:white;
}

#menu {
	margin:5px 0;
}
#menu ul {
	list-style:none;
}
#menu ul li {
	float:left;
	margin:0 10px;
}

#foot {
	margin-bottom:10px;
	background-color:#002344;
	border:1px solid #4A5764;
	-moz-border-radius-topleft:5px;
	-moz-border-radius-topright:5px;
	-webkit-border-radius-topleft: 5px;
	-webkit-border-radius-topright: 5px;
	-khtml-border-radius-topleft: 5px;
	-khtml-border-radius-topright: 5px;
}
#foot p {
	text-align:center;
	font-size:12px;
	margin:10px 0;
	color:white;
}
#foot p a {
	color:white;
	text-decoration:underline;
}

/** theme */
#theme {
	float:right;
}
#theme select {
	margin-right:10px;
}

/** create page */
#form_div, #show {
	width:814px;
	margin:0 auto;
}
#paste_form p {
	clear:both;
	line-height:16px;
}
#paste_form h1 {padding:5px 0;margin-bottom:10px;}
#paste_form h1 label {
	width:100px;
	font-size:16px;
	padding:0 10px;
}
#paste_form h1 input {
	width:200px;
	margin-right:20px;
}
#paste_form h1 select {
	width:200px;
}
#paste_form p textarea {
	width:100%;
	border:0;
	height:400px;
	background:#3E3E3E;
	overflow:auto;
	color:#FFFFFF;
}
#paste_form h2 {
	height:51px;
	width:100%;
	background:#E6E6E6;
}
#paste_form h2 input {
	background:url('/site_media/images/paste.png') no-repeat;
	width:120px;
	height:22px;
	border:0;
	cursor:pointer;
	font-weight:bold;
	margin:15px 0 0 380px;
}
#paste_form h2 span {
	width:120px;
	margin:0 auto;
}

/** show page */
#show h1 {
	font-size:16px;
}
#show h1 label {
	width:100px;
	padding:0 10px;
}
#show h1 span a {
	text-decoration:underline;
}
#paste_code {
	width:100%;
	border:2px solid #ccc;
	max-height:400px;
	overflow:auto;
	margin:20px 0;
}

.comment {
	clear:both;
	margin-bottom:10px;
	min-height:100px;
}
.comment h2,
.comment p {
	float:left;
}
.comment h2 {
	font-size:12px;
	width:180px;
	padding:10px;
}
.comment p {
	background:#F3F3F3;
	width:590px;
	min-height:100px;
	padding:10px;
}
#comment_form h2,
#comment_form form {
	float:left;
}
#comment_form h2 {
	font-size:12px;
	width:180px;
	padding:10px;
}
#comment_form form p textarea {
	width:610px;
	border:0;
	background:#3E3E3E;
	color:white;
}

/*button*/
.Sbutton {
	width: 918px;
	border: 1px solid #999;
	border-bottom-width: 2px;
	border-right-width: 2px;
	background: #ddd;
	color: #000;
	text-align: center;
	display: block;
	height: 28px;
	line-height: 28px;
	text-decoration: none;
	font-size: 14px;
	cursor: pointer;
	-moz-border-radius: 5px;
	-khtml-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
}

/** ranks page **/
#ranks {
	margin:20px 0;
}
.rank {
	width:293px;
	border:2px solid #D8D8D8;
	-moz-border-radius:5px;
	float:left;
	margin:11px;
}
.rank h1 {
	height:30px;
	text-align:center;
	font-size:14px;
	background-color:#F3F3F3;
	-moz-border-radius-topleft:5px;
	-moz-border-radius-topright:5px;
	-webkit-border-radius-topright: 5px;
	-webkit-border-radius-topleft: 5px;
	-khtml-border-radius-topleft: 5px;
	-khtml-border-radius-topright: 5px;
	padding-top:5px;
	border-bottom:1px solid #D8D8D8;
}
.rank ol {
	margin:10px 0 10px 50px;
}
.rank ol li {
	width:180px;
}
.rank ol li a {
	text-decoration:underline;
}

/** user pastes page **/
#paste_list {
	margin:20px 0;
	width:500px;
	border:2px solid #D8D8D8;
	-moz-border-radius:5px;
	margin-left:50px;
}
#paste_list h1 {
	height:30px;
	text-align:center;
	font-size:14px;
	background-color:#F3F3F3;
	-moz-border-radius-topleft:5px;
	-moz-border-radius-topright:5px;
	-webkit-border-radius-topright: 5px;
	-webkit-border-radius-topleft: 5px;
	-khtml-border-radius-topleft: 5px;
	-khtml-border-radius-topright: 5px;
	padding-top:5px;
	border-bottom:1px solid #D8D8D8;
}
#paste_list ul {padding:10px;list-style:none;}
#paste_list ul li a {
	text-decoration:underline;
}

/** login && register page **/
.login_register {
    width:500px;
    margin:20px auto;
    border:1px dashed #002344;
    padding:10px;
}
.login_register form p {
    clear:both;
}
.login_register form p label,
.login_register form p input {
    float:left;
}
.login_register form p label {
    width:150px;
    margin-right:10px;
    text-align:right;
    margin-bottom:10px;
}
.login_register form p input {
    width:150px;
}

#form_action input {
    width:auto;
}
